home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / freadline.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Freadlink(2)               Oct. 7, 1991              Freadlink(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Freadlink - determine contents of a symbolic link
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        LONG Freadlink( WORD bufsiz, char *buf, char *name );
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓F_✓r_✓e_✓a_✓d_✓l_✓i_✓n_✓k  determines  what  file  the  symbolic link _✓n_✓a_✓m_✓e
  15.        points to, i.e. what the first argument  to  the  _✓F_✓s_✓y_✓m_✓l_✓i_✓n_✓k
  16.        call  that  created  _✓n_✓a_✓m_✓e was. This 0-terminated string is
  17.        placed in the memory region pointed to by _✓b_✓u_✓f.  The  total
  18.        size  of  this  region  is  given  by _✓b_✓u_✓f_✓s_✓i_✓z; this must be
  19.        enough to hold the terminating 0.
  20.  
  21. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  22.        0 on success
  23.  
  24.        ERANGE if the symbolic link contents could not fit in _✓b_✓u_✓f.
  25.  
  26.        EFILNF if _✓n_✓a_✓m_✓e is not found.
  27.  
  28.        EACCDN if _✓n_✓a_✓m_✓e is not the name of a symbolic link.
  29.  
  30.        EINVFN if the file system containing _✓n_✓a_✓m_✓e does not support
  31.        symbolic links.
  32.  
  33. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  34.        _✓F_✓s_✓y_✓m_✓l_✓i_✓n_✓k(2)
  35.  
  36. B✓BU✓UG✓GS✓S
  37.        The Unix _✓r_✓e_✓a_✓d_✓l_✓i_✓n_✓k call returns the number of bytes read on
  38.        success, rather than 0.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.